<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" href="/${initParam.context_root }/css/smoothness/jquery-ui-1.8.21.custom.css" rel="stylesheet"></link>
<script type="text/javascript" src="/${initParam.context_root }/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/${initParam.context_root }/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#searchTxt").bind("focus",function(){
			this.value ="";
		});
		$("#TotalSearchData").click(function(){
			var inputData = $("#searchTxt").val();
			var url = "/${initParam.context_root}/searchProductByProductName.do?productName="+inputData;
			$("#TotalSearchForm").attr({"action":url,"method":"post"}).submit();
		});
// 		$("#imgsale").bind("mouseover",function(){
// 			$(this).src("/${initParam.context_root}/imge/구매상품목록2.png");			
// 		});
	});
</script>
&nbsp;&nbsp; &nbsp; &nbsp;
<table >
	<tr >
		<td rowspan="2" align="left"><a href="/${initParam.context_root }/couponCalendar.do">
		<img src="/${initParam.context_root }/image/main.png " width=220px border=0	height=130px  align="left"></a></td>
		<td rowspan="2">&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td colspan="3" align="center"><form id="TotalSearchForm"><input type="text" value="검색 입력" id="searchTxt" > &nbsp;&nbsp;<input type="button" value="검색" id="TotalSearchData"></form></td>
		<td><c:if test="${not empty sessionScope.memberDTO || not empty sessionScope.companyDTO || not empty sessionScope.adminDTO  }"><a href="/${initParam.context_root }/selectSaleListByPage.do">
		<img src="/${initParam.context_root }/image/구매상품목록.png "	width=120px height=50px border=0  onmouseover="this.src='/${initParam.context_root }/image/구매상품목록2.png'" onmouseout="this.src='/${initParam.context_root }/image/구매상품목록.png'"></a></c:if>	</td>
		<td><c:if test="${not empty sessionScope.memberDTO || not empty sessionScope.companyDTO || not empty sessionScope.adminDTO  }"><a href="/${initParam.context_root }/selectWishListByPage.do">
		<img src="/${initParam.context_root }/image/관심상품.png "	width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/관심상품2.png'" onmouseout="this.src='/${initParam.context_root }/image/관심상품.png'"></a></c:if></td>
		<td><c:if test="${not empty sessionScope.memberDTO || not empty sessionScope.companyDTO || not empty sessionScope.adminDTO  }"><a href="/${initParam.context_root }/myAuctionList.do?page=1">
		<img src="/${initParam.context_root }/image/나의중고.png "	width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/나의중고2.png'" onmouseout="this.src='/${initParam.context_root }/image/나의중고.png'"></a></c:if></td>
		<td rowspan="2">&nbsp;&nbsp;&nbsp;&nbsp;</td>
		<td rowspan="2"><a href="/${initParam.context_root }/introduce.do"><img src="/${initParam.context_root }/image/people.png " width=150px border=0	height=100px  align="right"></a></td>
	</tr>
	<tr>
		<td><a href="/${initParam.context_root }/mainPage.do">
		<img src="/${initParam.context_root }/image/오늘의쿠폰.png "width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/오늘의쿠폰2.png'" onmouseout="this.src='/${initParam.context_root }/image/오늘의쿠폰.png'"></a></td>
		<td><a href="/${initParam.context_root }/todayCoupon.do">
		<img src="/${initParam.context_root }/image/쿠폰리스트.png "width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/쿠폰리스트2.png'" onmouseout="this.src='/${initParam.context_root }/image/쿠폰리스트.png'"></a></td>
		<td><a href="/${initParam.context_root }/selectBoardByPage.do?page=1&contentGroup=0">
		<img src="/${initParam.context_root }/image/커뮤.png "	width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/커뮤2.png'" onmouseout="this.src='/${initParam.context_root }/image/커뮤.png'"></a></td>
		<td><a href="/${initParam.context_root }/auctionList.do?page=1">
		<img src="/${initParam.context_root }/image/중고.png "	width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/중고2.png'" onmouseout="this.src='/${initParam.context_root }/image/중고.png'"></a></td>
		<td><a href="/${initParam.context_root }/selectBoardByPage.do?page=1&contentGroup=1">
		<img src="/${initParam.context_root }/image/공지사항.png "	width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/공지사항2.png'" onmouseout="this.src='/${initParam.context_root }/image/공지사항.png'"></a></td>
		<td><a href="/${initParam.context_root }/eventIndex.do">
		<img src="/${initParam.context_root }/image/이벤트.png "	width=120px height=50px border=0 onmouseover="this.src='/${initParam.context_root }/image/이벤트2.png'" onmouseout="this.src='/${initParam.context_root }/image/이벤트.png'"></a></td>
	</tr>
</table>
